﻿using System;
using System.Collections.Generic;
using Nop.Core.Domain.Localization;

namespace Nop.Core.Domain.Advert
{
    public partial class Advertisement : BaseEntity, ILocalizedEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public virtual string Description { get; set; }
        /// <summary>
        /// 映射的商家或产品ID
        /// </summary>
        public virtual int MapId { get; set; }
        /// <summary>
        /// 广告类型
        /// </summary>
        public virtual int AdverType { get; set; }
        /// <summary>
        /// 广告位置
        /// 1.顶部
        /// 2.头部
        /// 3.页面
        /// 4.两侧
        /// 5.两侧浮动
        /// 6.底部
        /// 7.顶部拉升
        /// </summary>
        public virtual int AdverPosition { get; set; }
        /// <summary>
        /// 等级
        /// 1级：首页
        /// 2级：内页
        /// 3级：子内页
        /// 4级：未知
        /// </summary>
        public virtual int AdverLevel { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public virtual DateTime StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public virtual DateTime EndTime { get; set; }
        /// <summary>
        /// 广告内容
        /// </summary>
        public virtual string AdvertContent { get; set; }
        /// <summary>
        /// 支付订单号
        /// </summary>
        public virtual int OrderId { get; set; }
        /// <summary>
        /// 数据插入时间
        /// </summary>
        public virtual DateTime CreatedOnUtc { get; set; }
        /// <summary>
        ///是否是删除数据
        /// </summary>
        public virtual bool Deleted { get; set; }
        /// <summary>
        /// 是否发布
        /// </summary>
        public virtual bool Published { get; set; }
        /// <summary>
        /// 显示顺序
        /// </summary>
        public virtual int DisplayOrder { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        public virtual string Url { get; set; }
    }
}
